﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AuthentificatedUserInfo.ascx.cs" Inherits="UserControls_AuthentificatedUserInfo" %>
<asp:SiteMapDataSource ID="sdsMainMenu" runat="server" ShowStartingNode="false" />

<asp:Panel ID="pnlAuthentificatedUserInfo" runat="server" BackColor="LightGray">
    <table width="100%">
        <tr>
            <td align="left">
                <asp:Menu ID="MainMenu" runat="server" DataSourceID="sdsMainMenu" 
                    Orientation="Horizontal" BackColor="#F7F6F3" DynamicHorizontalOffset="2" 
                    Font-Names="Verdana" Font-Size="0.8em" ForeColor="#7C6F57" 
                    StaticSubMenuIndent="10px" >
                    <StaticSelectedStyle BackColor="#5D7B9D" />
                    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <DynamicHoverStyle BackColor="#7C6F57" ForeColor="White" />
                    <DynamicMenuStyle BackColor="#F7F6F3" />
                    <DynamicSelectedStyle BackColor="#5D7B9D" />
                    <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
                    <StaticHoverStyle BackColor="#7C6F57" ForeColor="White" />
                </asp:Menu>
            </td>
            <td align="right">            
                <asp:Label ID="lblUser" runat="server" Text="Користувач:"/>
                &nbsp;
                <asp:Label ID="lblUserName" runat="server"/>
                &nbsp;&nbsp;            
                <asp:Button ID="btnSingOut" runat="server" Text="Вихід" UseSubmitBehavior="false" 
                    OnClick="btnSingOut_Click" CausesValidation="false" />
            </td>
        </tr>
    </table>
</asp:Panel>
